<?
include"cek.php";
?>
<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Website Cuti Online</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<style>
<!--
body         { font-family: arial; color: #000080 }
-->
</style>
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="images/bg.gif" onload="FP_preloadImgs(/*url*/'images/buttonB.gif', /*url*/'images/kembali.gif')">
<center><br>
<TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR>
                <TD>
                        <IMG SRC="images/tkm_01.gif" WIDTH=800 HEIGHT=158 ALT=""></TD>
        </TR>
        <TR>
                <TD>
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/tkm_02.gif" id="table1">
                                <tr>
                                        <td width="12">&nbsp;</td>
                                        <td valign="top">
                                        <table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0">
                                                <tr>
                                                        <td>
                                                        <p align="right">&nbsp; <a href="data_karyawan.php">
                                                        <img border="0" id="img8" src="images/kembali1.gif" height="20" width="150" alt="Kembali" onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/kembali.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/kembali1.gif')" fp-style="fp-btn: Metal Rectangle 1; fp-font-color-hover: #FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0" fp-title="Kembali"></a>
                                                        <a href="keluar.php">
                                                        <img border="0" id="img5" src="images/buttonA.gif" height="20" width="150" alt="Keluar" onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/buttonB.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/buttonA.gif')" fp-style="fp-btn: Metal Rectangle 1; fp-font-color-hover: #FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0" fp-title="Keluar"></a></td>
                                                </tr>
                                                </table>
                                        <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3">
                                                <form method="POST" action="proses_tambah_data.php">
                                                        <tr>
                                                                <td colspan="2" bgcolor="#6799CF">
                                                                <p align="center" style="margin-top: 5px; margin-bottom: 5px">
                                                                Ubah Data Karyawan</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8">&nbsp;</td>
                                                                <td bgcolor="#F5DDB8" width="73%">&nbsp;&nbsp; Data Karyawan</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Nama</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="nama" size="37" style="color: #000080; font-family: arial; font-size: 12pt"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                NIK</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="nik_baru" size="21" style="color: #000080; font-family: arial; font-size: 12pt"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Tingkat</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="tingkat" size="21" style="color: #000080; font-family: arial; font-size: 12pt"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Jabatan</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="jabatan" size="29" style="color: #000080; font-family: arial; font-size: 12pt"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Tempat Kerja</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <select size="1" name="posisi" style="color: #000080; font-family: arial; font-size: 12pt">
                                                                <option selected value="Madiun">Madiun</option>
                                                                <option value="Ponorogo">Ponorogo</option>
                                                                <option value="Magetan">Magetan</option>
                                                                <option value="Ngawi">Ngawi</option>
                                                                <option value="Nganjuk">Nganjuk</option>
                                                                <option value="Kediri">Kediri</option>
                                                                <option value="Bojonegoro">Bojonegoro</option>
                                                                <option value="Tuban">Tuban</option>
                                                                </select></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                NIK Atasan</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="nik_atasan" size="21" style="color: #000080; font-family: arial; font-size: 12pt"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                NIK Support</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <?echo$d1[nik_support]?></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Status</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="radio" value="0" name="status" checked>Aktif&nbsp;&nbsp;
                                                                <input type="radio" value="1" name="status">
                                                                Cuti</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Hak Akses</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <select size="1" name="hak_akses" style="color: #000080; font-family: arial; font-size: 12pt">
                                                                <option selected value="0">Karyawan biasa
                                                                </option>
                                                                </select></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td width="73%">
                                                                <p style="margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td bgcolor="#F5DDB8" width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Jumlah Cuti yang belum diambil</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Cuti Besar</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="besar" size="6" style="color: #000080; font-family: arial; font-size: 12pt; text-align: center" value="45">
                                                                Hari</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Tahun 2004</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="th2004" size="6" style="color: #000080; font-family: arial; font-size: 12pt; text-align: center" value="12">
                                                                Hari</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Tahun 2005</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="th2005" size="6" style="color: #000080; font-family: arial; font-size: 12pt; text-align: center" value="12">
                                                                Hari</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Tahun 2006</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <input type="text" name="th2006" size="6" style="color: #000080; font-family: arial; font-size: 12pt; text-align: center" value="12">
                                                                Hari</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td bgcolor="#F5DDB8" width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Password untuk login karyawan bersangkutan</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                Password</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                &nbsp;<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="8" --><input type="text" name="pass" size="17" style="color: #000080; font-family: arial; font-size: 12pt" maxlength="8"></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td width="73%">
                                                                <p style="margin-left: 10px; margin-top: 2px; margin-bottom: 2px">
                                                                <font color="#FF0000">Maksimal 8 karakter</font></td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">&nbsp;</td>
                                                                <td width="73%">&nbsp;</td>
                                                        </tr>
                                                        <tr>
                                                                <td width="27%" bgcolor="#F5DDB8" align="right">
                                                                <p style="margin-right: 10px; margin-top: 2px; margin-bottom: 2px">&nbsp;</td>
                                                                <td bgcolor="#F5DDB8" width="73%">
                                                                <p style="margin-left: 10px; margin-top: 5px; margin-bottom: 5px">
                                                                <input type="button" value=" U B A H " name="kirim" style="color: #000080; font-family: arial; font-weight: bold"></td>
                                                        </tr>
                                                </form>
                                        </table>
                                        </td>
                                        <td width="15">&nbsp;</td>
                                </tr>
                        </table>
                </TD>
        </TR>
        <TR>
                <TD>
                        <IMG SRC="images/tkm_05.gif" WIDTH=800 HEIGHT=45 ALT=""></TD>
        </TR>
</TABLE>
</BODY>
</HTML>